<div class="xoopsOptSmaillies">
  <script type="text/javascript">
  <!--
  <{foreach from=$smilesArr item=smiles}>
    document.write('<a href="#" onclick=\'xoopsCodeSmilie("<{$element->getId()}>", "<{$smiles->getShow("code")}>"); return false;\'><img src=\'<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$smiles->getShow("smile_url")}>\' alt=\'<{$smiles->mVars.emotion.value|escape}>\'  title=\'<{$smiles->mVars.emotion.value|escape}>\' /></a> ') ;
  <{/foreach}>
    document.write(' &nbsp;[<a href=\'#moresmiley\' onclick=\'javascript:openWithSelfMain("<{$xoops_url}>/misc.php?action=showpopups&amp;type=smilies&amp;target=<{$element->getId()}>", "smilies", 300, 500);\'><{$smarty.const._MORE}></a>]' ) ;
  //-->
  </script>
  <noscript>
    <p><{$smarty.const._MB_LEGACY_SMAILY_CANNOT}></p>
  </noscript>
</div>
